package com.niiwoo.civet.trade.dto.response.creditor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * Created by zhoulinquan on 2018/5/14.
 * 债转明细订单dto
 */
@Getter
@Setter
@ToString
public class CreditorSaleDetailOrderDTO implements Serializable{
	private static final long serialVersionUID = -8524420779910161481L;

	// 债转批次订单ID
    private Long creditorSaleBatchId;
	
	// 债转明细订单ID
    private Long creditorSaleDetailId;
    
    // 是否是批处理订单；0-否；1-是；
    private Byte isBatch;
    
    // 出让人用户ID
    private String userId;
	
	// 剩余期数
	private Integer deadline;
	
	// 剩余多少个月
	private Integer remainingMonth;
	
	// 剩余多少天
	private Integer remainingDay;
	
	// 优选散标利率
    private BigDecimal borrowRate;
	
	// 债转申请时间
    private Date createTime;
	
	// 转让价格
    private BigDecimal saleAmount;
	
	// 让利金额
    private BigDecimal offAmount;
	
	// 转让手续费
    private BigDecimal expenseAmount;
	
	// 实际到账金额
    private BigDecimal arrivalAmount;
	
	// 状态；1-转让中,2-已撤销,3-已过期,4-成功,5-失败(用户还款)
    private Byte status;
	
	// 结束时间；1-过期时间,2-结束时间,3-过期时间,4-成功时间,5-结束时间
    private Date endTime;

}
